package com.ujiuye.Dao;

import com.ujiuye.entity.KeyWord;

import javax.servlet.http.HttpServlet;
import java.util.List;

public class KeyWordDao extends HttpServlet {
    //模糊查询方法
    public List<KeyWord> queryWord(String name){
        String sql="select * from keyword where keyword like '%"+name+"%'";
        return queryMore(sql,KeyWord.class);
    }

    private List<KeyWord> queryMore(String sql, Class<KeyWord> keyWordClass) {
        return null;
    }

}
